Power adapter, terminal, and method for processing impedance exception of charging loop

ABSTRACT

A powr adapter, a terminal, and a method for processing an impedance exception of a charging loop. The power adapter ( 10 ) comprises a power conversion unit ( 11 ) and a charging interface ( 12 ). The power conversion unit ( 11 ) forms a charging loop with a terminal through the charging interface ( 12 ), so as to charge a battery of the terminal. The power adapter ( 10 ) also comprises a communications unit ( 13 ), a detection unit ( 14 ), and an exception processing unit ( 15 ). The communications unit ( 13 ) is used for receiving voltage indication information from the terminal when the power adapter ( 10 ) charges the terminal, the voltage indication information being detected by the terminal and indicating an input voltage of the power adapter ( 10 ). The detection unit ( 14 ) is used for detecting an output voltage of the power adapter ( 10 ). The exception processing unit ( 15 ) is used for determining whether an impedance of the charging loop is exceptional according to a difference between the input voltage and the output voltage, and when the impedance of the charging loop is exceptional, controlling the charging loop to enter into a protection state, thereby improving the security of a charging process.

TECHNICAL FIELD

Embodiments of the present disclosure relate to the charging technical field, and more particularly, to a power adapter, a terminal and a method for handling an impedance anomaly in a charging loop.

BACKGROUND

Currently, batteries in most of electronic devices are connected with external power adapters via charging interfaces of the electronic devices to realize charging.

During charging, an impedance of the charging loop may sometimes become abnormal. There are various reasons resulting in the impedance anomaly, such as, a loose contact due to a bad-inserted charging interface, a loose contact between a battery and a connector located at two ends of the battery due to dirt at the two ends of the battery.

In a case that the impedance of the charging loop is abnormal, if the charging is still performed, charging components (such as a battery, a power adapter, and a terminal) will be damaged, thus bringing a hidden danger. In the related art, the impedance anomaly in the charging loop cannot be detected and handled, such that the safety during the charging is poor.

DISCLOSURE

Embodiments of the present disclosure provide a power adapter, a terminal and a method for handling an impedance anomaly in a charging loop, so as to improve the safety during the charging.

In a first aspect, a power adapter is provided, including a power conversion unit and a charging interface. The power conversion unit is configured to form a charging loop with a terminal via the charging interface so as to charge a battery of the terminal. The power adapter further includes: a communication unit, configured to receive voltage indicative information from the terminal when the power adapter charges the terminal, in which the voltage indicative information indicates an input voltage of the terminal from the power adapter detected by the terminal; a detection unit, configured to detect an output voltage of the power adapter; and an anomaly handling unit, configured to determine, according to a difference between the input voltage and the output voltage, whether an impedance of the charging loop is abnormal, and to control the charging loop to enter into a protection state if the impedance of the charging loop is abnormal.

Combined with the first aspect, in an implementation of the first aspect, the anomaly handling unit is configured to determine, according to the difference between the input voltage and the output voltage, whether the impedance of the charging loop is abnormal, and to control the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, and specifically to: determine a level of the impedance according to the difference; and control, according to the level of the impedance, the charging loop to enter into a protection state corresponding to the level.

Combined with any one of the first aspect and the above implementation, in another implementation of the first aspect, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.

Combined with any one of the first aspect and the above implementations, in another implementation of the first aspect, a detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery of the terminal, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.

Combined with any one of the first aspect and the above implementations, in another implementation of the first aspect, the power adapter further includes: an alarm device, configured to generate an alarm signal if the impedance of the charging loop is abnormal.

Combined with any one of the first aspect and the above implementations, in another implementation of the first aspect, the communication unit is configured to send charging protection indicative information to the terminal if the impedance of the charging loop is abnormal, so as to indicate the terminal to control the charging loop to enter into the protection state.

Combined with any one of the first aspect and the above implementations, in another implementation of the first aspect, the charging interface includes a power wire and a data wire; the power conversion unit is configured to form the charging loop with the terminal via the charging interface so as to charge the battery of the terminal, and specifically to form the charging loop with the terminal via the power wire in the charging interface, so as to charge the battery of the terminal; and the communication unit is configured to receive the voltage indicative information from the terminal, and specifically to receive the voltage indicative information from the terminal via the data wire in the charging interface.

In a second aspect, a terminal is provided, including a battery and a charging interface. The terminal is configured to form a charging loop with a power adapter via the charging interface so as to charge the battery. The terminal further includes a detection unit, a communication unit and an anomaly handling unit. The detection unit is configured to detect an input voltage of the terminal from the power adapter when the power adapter charges the terminal; the communication unit is configured to send voltage indicative information to the power adapter, in which the voltage indicative information indicates the input voltage of the terminal from the power adapter detected by the detection unit, and to receive charging protection indicative information from the power adapter if the power adapter determines based on a difference between an output voltage of the power adapter and the input voltage of the terminal from the power adapter that an impedance of the charging loop is abnormal; and the anomaly handling unit is configured to control the charging loop to enter into a protection state according to an indication of the charging protection indicative information.

Combined with the second aspect, in an implementation of the second aspect, the charging interface includes a power wire and a data wire; the terminal is configured to form the charging loop with the power adapter via the charging interface so as to charge the battery, and specifically to form the charging loop with the power adapter via the power wire in the charging interface, so as to charge the battery; and the communication unit is configured to send the voltage indicative information to the power adapter, and specifically to send the voltage indicative information to the power adapter via the data wire in the charging interface.

Combined with any one of the second aspect and the above implementation, in another implementation of the second aspect, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.

Combined with any one of the second aspect and the above implementations, in another implementation of the second aspect, the detection unit is configured to detect the input voltage of the terminal from the power adapter at two ends of the battery, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.

Combined with any one of the second aspect and the above implementations, in another implementation of the second aspect, the terminal further includes: an alarm device, configured to generate an alarm signal if the impedance of the charging loop is abnormal.

In a third aspect, a method for handling an impedance anomaly in a charging loop is provided, including: receiving, by a power adapter, voltage indicative information from a terminal when the power adapter charges the battery, in which the voltage indicative information indicates an input voltage of the terminal from the power adapter detected by the terminal; detecting, by the power adapter, an output voltage of the power adapter; and determining, by the power adapter according to a difference between the input voltage and the output voltage, whether an impedance of the charging loop is abnormal; and controlling, by the power adapter, the charging loop to enter into a protection state if the impedance of the charging loop is abnormal.

Combined with the third aspect, in an implementation of the third aspect, the method further includes: determining, by the power adapter according to the difference between the input voltage and the output voltage, whether the impedance of the charging loop is abnormal; and controlling, by the power adapter, the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, includes: determining, by the power adapter, a level of the impedance according to the difference; and controlling, by the power adapter according to the level of the impedance, the charging loop to enter into a protection state corresponding to the level.

Combined with any one of the third aspect and the above implementation, in another implementation of the third aspect, the power adapter charges the terminal via a charging interface, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.

Combined with any one of the third aspect and the above implementations, in another implementation of the third aspect, a detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery of the terminal, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.

Combined with any one of the third aspect and the above implementations, in another implementation of the third aspect, the method further includes: generating, by the power adapter, an alarm signal indicating that the impedance of the charging loop is abnormal.

Combined with any one of the third aspect and the above implementations, in another implementation of the third aspect, the method further includes: sending, by the power adapter, charging protection indicative information to the terminal if the impedance of the charging loop is abnormal, so as to indicate the terminal to control the charging loop to enter into the protection state.

Combined with any one of the third aspect and the above implementations, in another implementation of the third aspect, the power adapter charges the terminal via a charging interface, in which the charging interface includes a power wire and a data wire, the power adapter charges the terminal via the power wire in the charging interface, and receiving, by the power adapter, the voltage indicative information from the terminal includes: receiving by the power adapter the voltage indicative information from the terminal via the data wire in the charging interface.

In a fourth aspect, a method for handling an impedance anomaly in a charging loop is provided, including: detecting, by a terminal, an input voltage of the terminal from a power adapter when the power adapter charges the terminal; sending, by the terminal, voltage indicative information to the power adapter, in which the voltage indicative information indicates the input voltage of the terminal from the power adapter detected by the terminal; receiving, by the terminal, charging protection indicative information from the power adapter if the power adapter determines based on a difference between an output voltage of the power adapter and the input voltage of the terminal from the power adapter received from the terminal that an impedance of the charging loop is abnormal; and controlling, by the terminal, the charging loop to enter into a protection state according to an indication of the charging protection indicative information.

Combined with the fourth aspect, in an implementation of the fourth aspect, a charging interface includes a power wire and a data wire, the power adapter charges the terminal via the power wire in the charging interface; and sending, by the terminal, the voltage indicative information to the power adapter, includes: sending, by the terminal, the voltage indicative information to the power adapter via the data wire in the charging interface.

Combined with any one of the fourth aspect and the above implementation, in another implementation of the fourth aspect, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.

Combined with any one of the fourth aspect and the above implementations, in another implementation of the fourth aspect, a detection position of the input voltage of the terminal from the power adapter is located at two ends of a battery of the terminal, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.

Combined with any one of the fourth aspect and the above implementations, in another implementation of the fourth aspect, the method further includes: generating, by the terminal, an alarm signal if the impedance of the charging loop is abnormal.

In embodiments of the present disclosure, the power adapter acquires the input voltage of the terminal from the power adapter detected by the terminal via a communication with the terminal, the power adapter determines based on the difference between the output voltage of the power adapter detected by itself and the input voltage of the terminal from the power adapter detected by the terminal whether the impedance of the charging loop is abnormal and controls the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, such that the safety during the charging is improved.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to make the technical solutions of embodiments of the present disclosure more clearly, the accompanying drawings used in the description of embodiments of the present disclosure are briefly described hereunder. Obviously, the described drawings are merely some embodiments of present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without any creative work.

FIG. 1 is a schematic block diagram showing a power adapter according to an embodiment of the present disclosure;

FIG. 2 is a schematic block diagram showing a terminal according to an embodiment of the present disclosure;

FIG. 3 is a schematic flow chart showing a method for handling an impedance anomaly in a charging loop according to an embodiment of the present disclosure; and

FIG. 4 is a schematic flow chart showing a method for handling an impedance anomaly in a charging loop according to an embodiment of the present disclosure.

DETAILED DESCRIPTION

The technical solutions in embodiments of the present disclosure are hereinafter described clearly and completely with reference to the accompanying drawings in embodiments of the present disclosure as follows. Apparently, the described embodiments are merely a part of embodiments of the present disclosure, rather than all embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

FIG. 1 is a schematic block diagram showing a power adapter according to an embodiment of the present disclosure. The power adapter 10 shown in FIG. 1 includes: a power conversion unit 11 and a charging interface 12. The power conversion unit 11 is configured to form a charging loop with a terminal via the charging interface 12, so as to charge a battery of the terminal. The power adapter 10 further includes a communication unit 13, a detection unit 14 and an anomaly handling unit 15.

The communication unit 13 is configured to receive voltage indicative information from the terminal when the power adapter charges the terminal, in which the voltage indicative information indicates an input voltage of the terminal from the power adapter detected by the terminal.

The detection unit 14 is configured to detect an output voltage of the power adapter.

The anomaly handling unit 15 is configured to determine, according to a difference between the input voltage and the output voltage, whether an impedance of the charging loop is abnormal, and to control the charging loop to enter into a protection state if the impedance of the charging loop is abnormal.

In embodiments of the present disclosure, the power adapter acquires the input voltage of the terminal from the power adapter detected by the terminal via a communication with the terminal, the power adapter determines based on the difference between the output voltage of the power adapter detected by itself and the input voltage of the terminal from the power adapter detected by the terminal whether the impedance of the charging loop is abnormal and controls the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, such that the safety during the charging is improved.

It should be understood that, the above anomaly handling unit 15 controlling the charging loop to enter into the protection state can include: reducing by the anomaly handling unit 15 the output voltage of the power adapter 10; reducing by the anomaly handling unit 15 output current of the power adapter 10; or disconnecting by the anomaly handling unit 15 the charging loop.

Alternatively, as an embodiment, the above anomaly handling unit 15 is configured to determine, according to the difference between the input voltage and the output voltage, whether the impedance of the charging loop is abnormal, and to control the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, and specifically to: determine a level of the impedance according to the difference; and control, according to the level of the impedance, the charging loop to enter into a protection state corresponding to the level.

For example, a correspondence between the level of impedance and the difference between the input voltage of the terminal from the power adapter and the output voltage of the power adapter can be preset. After determining an actual difference between the input voltage of the terminal from the power adapter and the output voltage of the power adapter, the anomaly handling unit 15 can find the level of impedance corresponding to the actual difference based on the above correspondence. Each level of impedance corresponds to a distinct protection state. For example, the level of impedance can be divided into “light”, “middle” and “heavy”. If the level of impedance is “light”, it can control the charging loop to continue to charge with large current. If the level of impedance is “middle”, it can control the charging loop to charge with small current. If the level of impedance is “heavy”, it can control the charging loop to be turned off.

It should be noted that, a position where the output voltage is detected by the power adapter and a position where the input voltage of the terminal from the power adapter is detected by the terminal are not limited herein, and can be determined according to different demands.

For example, the detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter can be located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface. It should be understood that, the above detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter being located at two ends of the charging interface respectively means that, the terminal detects the input voltage of the terminal from the power adapter at one side of the charging interface, and the power adapter detects the output voltage of the power adapter at the other side of the charging interface. The above detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter being located at two ends of the charging interface respectively means that, the position where the power adapter detects the output voltage and the position where the terminal detects the input voltage of the terminal from the power adapter are close to the charging interface connected thereto, if the voltage drop of any one of the voltages detected by the terminal and the power adapter is abnormal, it can be determined that this happens due to the impedance anomaly of the circuit in the charging interface.

For another example, the detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal. Since the input current of the power adapter finally reaches the two ends of the battery after flowing through various components in the terminal, when the terminal detects the input voltage of the terminal from the power adapter at the two ends of the battery, the difference between the of the terminal from the power adapter and the output voltage of the power adapter can indicate the impedance of the whole charging loop.

Alternatively, as an embodiment, the power adapter 10 further includes: an alarm device, configured to generate an alarm signal if the impedance of the charging loop is abnormal. The alarm device can be a sound alarm device or a lamp. Taking the impedance of the charging loop being the impedance of the circuit in the charging interface as an example, when the alarm device raises an alarm, it means that the charging interface has a loose contact, such that a user is reminded to re-connect the charging interface between the power adapter and the terminal.

Alternatively, as an embodiment, if the impedance of the charging loop is abnormal, the communication unit 13 is configured to send charging protection indicative information to the terminal, so as to indicate the terminal to control the charging loop to enter into the protection state.

In embodiments of the present disclosure, if the impedance of the charging loop is abnormal, the power adapter not only controls the charging loop to enter into the protection state, but also notices the terminal to control the charging loop to enter into the protection state. In this way, even if the anomaly handing unit in the power adapter loses efficacy and the power adapter cannot control the charging loop to enter into the protection state, the terminal can control the charging loop to enter into the protection state, thus further improving the safety during the charging.

Alternatively, as an embodiment, the charging interface 12 includes a power wire and a data wire. The power conversion unit 11 is configured to form the charging loop with the terminal via the charging interface 12 so as to charge the battery of the terminal, and specifically to form the charging loop with the terminal via the power wire in the charging interface 12 so as to charge the battery of the terminal. The communication unit 13 is configured to receive the voltage indicative information from the terminal when the power adapter 10 charges the terminal, and specifically to: receive the voltage indicative information from the terminal via the data wire in the charging interface 12.

For example, the charging interface is a USB (Universal Serial Bus) interface or a micro USB interface. The above power wire is a power wire in the USB interface, such as +5V power wire and −5V power wire. The above data wire is a data wire in the USB interface, such as D+ wire and D− wire.

FIG. 2 is a schematic block diagram showing a terminal according to an embodiment of the present disclosure. The terminal 20 shown in FIG. 2 includes a battery 21 and a charging interface 22. The terminal 20 is configured to form a charging loop with a power adapter via the charging interface 22, so as to charge the battery 21. The terminal 20 further includes: a detection unit 23, a communication unit 24 and an anomaly handling unit 25.

The detection unit 23 is configured to detect an input voltage of the terminal from the power adapter when the power adapter charges the terminal 20.

The communication unit 24 is configured to send voltage indicative information to the power adapter, in which the voltage indicative information indicates the input voltage of the terminal from the power adapter detected by the detection unit 23.

The communication unit 24 is configured to receive charging protection indicative information from the power adapter if the power adapter determines based on a difference between an output voltage of the power adapter and the input voltage of the terminal from the power adapter that an impedance of the charging loop is abnormal.

The anomaly handing unit 25 is configured to control the charging loop to enter into a protection state according to an indication of the charging protection indicative information.

In embodiments of the present disclosure, the terminal communicates with the power adapter during the charging and sends the input voltage of the terminal from the power adapter detected by it, such that the power adapter determines according to the difference between the input voltage and the output voltage whether the impedance of the charging loop is abnormal. If the impedance of the charging loop is abnormal, the terminal receives the charging protection indicative information from the power adapter, and then controls the charging loop to enter into the protection state, thus improving the safety during the charging.

Alternatively, as an embodiment, the charging interface 22 can include a power wire and a data wire. The terminal 20 is configured to form the charging loop with the power adapter via the charging interface 22 so as to charge the battery 21, and specifically to: form the charging loop with the power adapter via the power wire in the charging interface 22 so as to charge the battery 21. The communication unit 24 is configured to send the voltage indicative information to the power adapter, and specifically to: send the voltage indicative information to the power adapter via the date wire in the charging interface 22.

For example, the charging interface is a USB (Universal Serial Bus) interface or a micro USB interface. The above power wire is a power wire in the USB interface, such as +5V power wire and −5V power wire. The above data wire is a data wire in the USB interface, such as D+ wire and D− wire.

It should be noted that, a position where the output voltage is detected by the power adapter and a position where the input voltage of the terminal from the power adapter is detected by the terminal are not limited herein, and can be determined according to different demands.

For example, the detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter can be located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface. The above detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter being located at two ends of the charging interface respectively means that, the position where the power adapter detects the output voltage and the position where the terminal detects the input voltage of the terminal from the power adapter are close to the charging interface connected thereto, if the voltage drop of any one of the voltages detected by the terminal and the power adapter is abnormal, it can be determined that this happens due to the impedance anomaly of the circuit in the charging interface.

For another example, the detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal. Since the input current of the power adapter finally reaches the two ends of the battery after flowing through various components in the terminal, when the terminal detects the input voltage of the terminal from the power adapter at the two ends of the battery, the difference between the of the terminal from the power adapter and the output voltage of the power adapter can indicate the impedance of the whole charging loop.

Alternatively, as an embodiment, the terminal 20 further includes: an alarm device, configured to generate an alarm signal if the impedance of the charging loop is abnormal. The alarm device can be a sound alarm device or a lamp. Taking the impedance of the charging loop being the impedance of the circuit in the charging interface as an example, when the alarm device raises an alarm, it means that the charging interface has a loose contact, such that a user is reminded to re-connect the charging interface between the power adapter and the terminal.

FIG. 3 is a schematic flow chart showing a method for handling an impedance anomaly in a charging loop according to an embodiment of the present disclosure. The method shown in FIG. 3 can be executed by the power adapter shown in FIG. 1, which is not described herein to avoid needless duplication. The method in FIG. 3 includes the following steps.

In step 310, the power adapter receives voltage indicative information from the terminal when the power adapter charges the battery. The voltage indicative information indicates an input voltage of the terminal from the power adapter detected by the terminal.

In step 320, the power adapter detects an output voltage of the power adapter.

In step 330, the power adapter determines, according to a difference between the input voltage and the output voltage, whether an impedance of the charging loop is abnormal, and controls the charging loop to enter into a protection state if the impedance of the charging loop is abnormal.

In embodiments of the present disclosure, the power adapter acquires the input voltage of the terminal from the power adapter detected by the terminal via a communication with the terminal, the power adapter determines based on the difference between the output voltage of the power adapter detected by itself and the input voltage of the terminal from the power adapter detected by the terminal whether the impedance of the charging loop is abnormal and controls the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, such that the safety during the charging is improved.

Alternatively, as an embodiment, determining, by the power adapter according to the difference between the input voltage and the output voltage, whether the impedance of the charging loop is abnormal, and controlling, by the power adapter, the charging loop to enter into the protection state if the impedance of the charging loop is abnormal can include: determining, by the power adapter according to the difference between the input voltage and the output voltage, a level of the impedance of the charging loop; and controlling, by the power adapter according to the level of the impedance, the charging loop to enter into a protection state corresponding to the level.

Alternatively, as an embodiment, the power adapter charges the terminal via a charging interface, and detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.

Alternatively, as an embodiment, the detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.

Alternatively, as an embodiment, the method shown in FIG. 3 further includes: generating, by the power adapter, an alarm signal indicating that the impedance of the charging loop is abnormal.

Alternatively, as an embodiment, the method shown in FIG. 3 further includes: sending, by the power adapter, charging protection indicative information to the terminal if the impedance of the charging loop is abnormal, so as to indicate the terminal to control the charging loop to enter into the protection state.

Alternatively, as an embodiment, the power adapter charges the terminal via a charging interface. The charging interface includes a power wire and a data wire. The power adapter charges the terminal via the power wire in the charging interface. Receiving, by the power adapter, the voltage indicative information from the terminal can include: receiving, by the power adapter, the voltage indicative information from the terminal via the data wire in the charging interface.

FIG. 4 is a schematic flow chart showing a method for handling an impedance anomaly in a charging loop according to an embodiment of the present disclosure. The method shown in FIG. 4 can be executed by the terminal shown in FIG. 2, which is not described herein to avoid needless duplication. The method in FIG. 4 includes the following steps.

In step 410, the terminal detects an input voltage of the terminal from the power adapter when the power adapter charges the terminal.

In step 420, the terminal sends voltage indicative information to the power adapter, in which the voltage indicative information indicates the input voltage of the terminal from the power adapter detected by the terminal.

In step 430, the terminal receives charging protection indicative information from the power adapter, if the power adapter determines according to a difference between an output voltage of the power adapter and the input voltage of the terminal from the power adapter detected by the terminal that an impedance of the charging loop is abnormal.

In step 440, the terminal controls the charging loop to enter into a protection state according to an indication of the charging protection indicative information.

In embodiments of the present disclosure, the terminal communicates with the power adapter during the charging and sends the input voltage of the terminal from the power adapter detected by it, such that the power adapter determines according to the difference between the input voltage and the output voltage whether the impedance of the charging loop is abnormal.

If the impedance of the charging loop is abnormal, the terminal receives the charging protection indicative information from the power adapter, and then controls the charging loop to enter into the protection state, thus improving the safety during the charging.

Alternatively, as an embodiment, a charging interface can include a power wire and a data wire. The power adapter charges the terminal via the power wire in the charging interface. Sending, by the terminal, the voltage indicative information to the power adapter can include: sending, by the terminal, the voltage indicative information to the power adapter via the data wire in the charging interface.

Alternatively, as an embodiment, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.

Alternatively, as an embodiment, the detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.

Alternatively, as an embodiment, the method shown in FIG. 4 further includes: generating, by the terminal, an alarm signal, if the impedance of the charging loop is abnormal.

Those skilled in the art can be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are executed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. Those skilled in the art can use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present disclosure.

It would be appreciated by those skilled in the art that, for the purpose of simplification convenience of description, concerning the specific working process of the above system, device and unit as described above, reference is made to the method embodiments of the present disclosure, which will not be elaborated herein.

In several embodiments provided in the application, it should be understood that the disclosed system, device and method can be realized by other manners. For example, the above-described embodiments are only exemplary; for example, the division of said unit is only a logic function division; there can be additional dividing manners during the actual implementation.

For example, multiple units or components can be combined or integrated into another system, or some features can be ignored, or not implemented. Another point, the displayed or discussed mutual coupling or direct coupling or communication connection can be indirect coupling or communication connection of devices or units via some interfaces, in electronic, mechanical, or other forms.

Said unit described as a separation part can be or can not be separated physically; the part displayed as a unit can be or can not be a physical unit, namely it can be located in one place, or can be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

In addition, all functional units in the embodiments of the disclosure can be integrated in one processing unit, or each unit exists individually in physical form, or two or more units are integrated in one unit.

If said function is realized in the form of software function unit and sold or used as an independent product, it can be stored in a computer readable storage medium. With such an understanding, the technical solution of the disclosure substantially or its portion that contributes to the prior art or a portion of the technical solution can embody in the form of a computer software product which is stored in a memory media, including a plurality of instructions such that a computer (can be a personal computer, a server, or a network device, etc.) executes all or some steps of the methods described in each of all the embodiments. And the previously mentioned memory media include such media capable of storing program codes as USB flash disk, portable hard drive, read-only memory (ROM), random access memory (RAM), floppy disk or compact disk.

The above descriptions are only specific embodiments of the disclosure, but not intended to limit the protection scope of the disclosure. The variation or replacement easily thought of by those skilled in the art within the technical scope disclosed by the disclosure, shall fall within the protection scope of the disclosure. Therefore, the protection scope of the disclosure shall be determined with reference to the protection scope of the claims. 

What is claimed is:
 1. A power adapter, comprising a power conversion unit and a charging interface, the power conversion unit being configured to form a charging loop with a terminal via the charging interface so as to charge a battery of the terminal, and being characterized at that, the power adapter further comprises: a communication unit, configured to receive voltage indicative information from the terminal when the power adapter charges the terminal, wherein the voltage indicative information indicates an input voltage of the terminal from the power adapter detected by the terminal; a detection unit, configured to detect an output voltage of the power adapter; and an anomaly handling unit, configured to determine, according to a difference between the input voltage and the output voltage, whether an impedance of the charging loop is abnormal, and to control the charging loop to enter into a protection state if the impedance of the charging loop is abnormal.
 2. The power adapter according to claim 1, being characterized at, the anomaly handling unit is configured to determine, according to the difference between the input voltage and the output voltage, whether the impedance of the charging loop is abnormal, and to control the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, and specifically to: determine a level of the impedance according to the difference; and control, according to the level of the impedance, the charging loop to enter into a protection state corresponding to the level.
 3. The power adapter according to claim 1 or 2, being characterized at that, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.
 4. The power adapter according to claim 1 or 2, being characterized at that, a detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery of the terminal, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.
 5. The power adapter according to any one of claims 1-4, being characterized at, further comprising: an alarm device, configured to generate an alarm signal if the impedance of the charging loop is abnormal.
 6. The power adapter according to any one of claims 1-5, being characterized at that, the communication unit is configured to send charging protection indicative information to the terminal if the impedance of the charging loop is abnormal, so as to indicate the terminal to control the charging loop to enter into the protection state.
 7. The power adapter according to any one of claims 1-6, being characterized at that, the charging interface comprises a power wire and a data wire; the power conversion unit is configured to form the charging loop with the terminal via the charging interface so as to charge the battery of the terminal, and specifically to: form the charging loop with the terminal via the power wire in the charging interface, so as to charge the battery of the terminal; and the communication unit is configured to receive the voltage indicative information from the terminal, and specifically to: receive the voltage indicative information from the terminal via the data wire in the charging interface.
 8. A terminal, comprising a battery and a charging interface, the terminal being configured to form a charging loop with a power adapter via the charging interface so as to charge the battery, and being characterized at that, the terminal further comprises a detection unit, a communication unit and an anomaly handling unit, wherein the detection unit is configured to detect an input voltage of the terminal from the power adapter when the power adapter charges the terminal; the communication unit is configured to send voltage indicative information to the power adapter, wherein the voltage indicative information indicates the input voltage of the terminal from the power adapter detected by the detection unit, and to receive charging protection indicative information from the power adapter if the power adapter determines based on a difference between an output voltage of the power adapter and the input voltage of the terminal from the power adapter that an impedance of the charging loop is abnormal; and the anomaly handling unit is configured to control the charging loop to enter into a protection state according to an indication of the charging protection indicative information.
 9. The terminal according to claim 8, being characterized at that, the charging interface comprises a power wire and a data wire; the terminal is configured to form the charging loop with the power adapter via the charging interface so as to charge the battery, and specifically to: form the charging loop with the power adapter via the power wire in the charging interface, so as to charge the battery; and the communication unit is configured to send the voltage indicative information to the power adapter, and specifically to: send the voltage indicative information to the power adapter via the data wire in the charging interface.
 10. The terminal according to claim 8 or 9, being characterized at that, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.
 11. The terminal according to claim 8 or 9, being characterized at that, the detection unit is configured to detect the input voltage of the terminal from the power adapter at two ends of the battery, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.
 12. The terminal according to any one of claims 8-11, being characterized at, further comprising: an alarm device, configured to generate an alarm signal if the impedance of the charging loop is abnormal.
 13. A method for handling an impedance anomaly in a charging loop, being characterized at, comprising: receiving, by a power adapter, voltage indicative information from a terminal when the power adapter charges the battery, wherein the voltage indicative information indicates an input voltage of the terminal from the power adapter detected by the terminal; detecting, by the power adapter, an output voltage of the power adapter; and determining, by the power adapter according to a difference between the input voltage and the output voltage, whether an impedance of the charging loop is abnormal; and controlling, by the power adapter, the charging loop to enter into a protection state if the impedance of the charging loop is abnormal.
 14. The method according to claim 13, being characterized at that, determining, by the power adapter according to the difference between the input voltage and the output voltage, whether the impedance of the charging loop is abnormal; and controlling, by the power adapter, the charging loop to enter into the protection state if the impedance of the charging loop is abnormal, comprises: determining, by the power adapter, a level of the impedance according to the difference; and controlling, by the power adapter according to the level of the impedance, the charging loop to enter into a protection state corresponding to the level.
 15. The method according to claim 13 or 14, being characterized at that, the power adapter charges the terminal via a charging interface, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.
 16. The method according to claim 13 or 14, being characterized at that, a detection position of the input voltage of the terminal from the power adapter is located at two ends of the battery of the terminal, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.
 17. The method according to any one of claims 13-16, being characterized at, further comprising: generating, by the power adapter, an alarm signal indicating that the impedance of the charging loop is abnormal.
 18. The method according to any one of claims 13-17, being characterized at, further comprising: sending, by the power adapter, charging protection indicative information to the terminal if the impedance of the charging loop is abnormal, so as to indicate the terminal to control the charging loop to enter into the protection state.
 19. The method according to any one of claims 13-18, being characterized at that, the power adapter charges the terminal via a charging interface, wherein the charging interface comprises a power wire and a data wire; the power adapter charges the terminal via the power wire in the charging interface; and receiving, by the power adapter, the voltage indicative information from the terminal comprises: receiving by the power adapter the voltage indicative information from the terminal via the data wire in the charging interface.
 20. A method for handling an impedance anomaly in a charging loop, being characterized at, comprising: detecting, by a terminal, an input voltage of the terminal from a power adapter when the power adapter charges the terminal; sending, by the terminal, voltage indicative information to the power adapter, wherein the voltage indicative information indicates the input voltage of the terminal from the power adapter detected by the terminal; receiving, by the terminal, charging protection indicative information from the power adapter if the power adapter determines based on a difference between an output voltage of the power adapter and the input voltage of the terminal from the power adapter received from the terminal that an impedance of the charging loop is abnormal; and controlling, by the terminal, the charging loop to enter into a protection state according to an indication of the charging protection indicative information.
 21. The method according to claim 20, being characterized at that, a charging interface comprises a power wire and a data wire, the power adapter charges the terminal via the power wire in the charging interface; and sending, by the terminal, the voltage indicative information to the power adapter, comprises: sending, by the terminal, the voltage indicative information to the power adapter via the data wire in the charging interface.
 22. The method according to claim 20 or 21, being characterized at that, detection positions of the input voltage of the terminal from the power adapter and the output voltage of the power adapter are located at two ends of the charging interface respectively, and the impedance of the charging loop refers to an impedance of a circuit in the charging interface.
 23. The method according to claim 20 or 21, being characterized at that, a detection position of the input voltage of the terminal from the power adapter is located at two ends of a battery of the terminal, and the impedance of the charging loop refers to an impedance of a circuit from the power adapter to the battery of the terminal.
 24. The method according to any one of claims 20-23, being characterized at, further comprising: generating, by the terminal, an alarm signal if the impedance of the charging loop is abnormal. 